package com.hongxun.modules.csg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hongxun.common.validator.group.AddGroup;
import com.hongxun.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;


/**
 * 隐蔽工程：接地体
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-30 15:00:41
 */
public class CGroundEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//guid
	private String guid;

	private String pGuid;
	//所属隐蔽工程ID
	private String mCGuid;

	//所属隐蔽工程名称

	private String mCName;

	//接地体规格
	@NotBlank(message="接地体规格不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gFormat;

	//土质情况
	@NotBlank(message="土质情况不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gSoil;

	//焊接质量
	@NotBlank(message="焊接质量不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gMass;


	//防腐处理
	@NotBlank(message="防腐处理不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gDam;

	//槽沟长度
	@NotBlank(message="槽沟长度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gLength;

	//槽沟宽度
	@NotBlank(message="槽沟宽度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gWidth;

	//接地电阻值
	@NotBlank(message="接地电阻值不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gResistance;

	//槽沟深度
	@NotBlank(message="槽沟深度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gDepth;

	//检查结果
	@NotBlank(message="检查结果不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String gResult;
	//添加时间
	private Date gAddtime;
	//状态
	private String gDatastate;


	/**
	 * 设置：guid
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：guid
	 */
	public String getGuid() {
		return guid;
	}

	public String getPGuid() {
		return pGuid;
	}

	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}

	/**
	 * 设置：所属隐蔽工程ID
	 */
	public void setMCGuid(String mCGuid) {
		this.mCGuid = mCGuid;
	}
	/**
	 * 获取：所属隐蔽工程ID
	 */
	public String getMCGuid() {
		return mCGuid;
	}
	/**
	 * 设置：所属隐蔽工程名称
	 */
	public void setMCName(String mCName) {
		this.mCName = mCName;
	}
	/**
	 * 获取：所属隐蔽工程名称
	 */
	public String getMCName() {
		return mCName;
	}
	/**
	 * 设置：接地体规格
	 */
	public void setGFormat(String gFormat) {
		this.gFormat = gFormat;
	}
	/**
	 * 获取：接地体规格
	 */
	public String getGFormat() {
		return gFormat;
	}
	/**
	 * 设置：土质情况
	 */
	public void setGSoil(String gSoil) {
		this.gSoil = gSoil;
	}
	/**
	 * 获取：土质情况
	 */
	public String getGSoil() {
		return gSoil;
	}
	/**
	 * 设置：焊接质量
	 */
	public void setGMass(String gMass) {
		this.gMass = gMass;
	}
	/**
	 * 获取：焊接质量
	 */
	public String getGMass() {
		return gMass;
	}
	/**
	 * 设置：防腐处理
	 */
	public void setGDam(String gDam) {
		this.gDam = gDam;
	}
	/**
	 * 获取：防腐处理
	 */
	public String getGDam() {
		return gDam;
	}
	/**
	 * 设置：槽沟长度
	 */
	public void setGLength(String gLength) {
		this.gLength = gLength;
	}
	/**
	 * 获取：槽沟长度
	 */
	public String getGLength() {
		return gLength;
	}
	/**
	 * 设置：槽沟宽度
	 */
	public void setGWidth(String gWidth) {
		this.gWidth = gWidth;
	}
	/**
	 * 获取：槽沟宽度
	 */
	public String getGWidth() {
		return gWidth;
	}
	/**
	 * 设置：接地电阻值
	 */
	public void setGResistance(String gResistance) {
		this.gResistance = gResistance;
	}
	/**
	 * 获取：接地电阻值
	 */
	public String getGResistance() {
		return gResistance;
	}
	/**
	 * 设置：槽沟深度
	 */
	public void setGDepth(String gDepth) {
		this.gDepth = gDepth;
	}
	/**
	 * 获取：槽沟深度
	 */
	public String getGDepth() {
		return gDepth;
	}
	/**
	 * 设置：检查结果
	 */
	public void setGResult(String gResult) {
		this.gResult = gResult;
	}
	/**
	 * 获取：检查结果
	 */
	public String getGResult() {
		return gResult;
	}
	/**
	 * 设置：添加时间
	 */
	public void setGAddtime(Date gAddtime) {
		this.gAddtime = gAddtime;
	}
	/**
	 * 获取：添加时间
	 */
	public Date getGAddtime() {
		return gAddtime;
	}
	/**
	 * 设置：状态
	 */
	public void setGDatastate(String gDatastate) {
		this.gDatastate = gDatastate;
	}
	/**
	 * 获取：状态
	 */
	public String getGDatastate() {
		return gDatastate;
	}
}
